package com.gwgreenway.member.domain;

/**
 * 
 * Copyright: Copyright (c) 2018 863263957@qq.com
 * 
 * @ClassName: User.java
 * @Description: 基于密码验证的user实体
 * @author: niugang
 * @date: 2018年9月14日 下午2:31:17
 */
public class User {
	private Integer id;
	private String name;
	private Integer age;
	private String phone;
	private String password;
	public User() {

	}
	public User(int id, String name, String password) {
		this.id = id;
		this.name = name;
		this.password = password;
	}
	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", name=" + name + ", age=" + age + ", phone=" + phone + ", password=" + password
				+ "]";
	}
   
}
